package edu.nf.placeorder.service;

/**
 * @author wangl
 * @date 2025/9/30
 */
public enum GoodsEnum {
    /**
     * 库存前缀
     */
    STOCK_PREFIX("goods:stock:"),
    /**
     * 商品前缀
     */
    GOODS_PREFIX("goods:");

    private final String prefix;

    GoodsEnum(String prefix) {
        this.prefix = prefix;
    }

    public String value() {
        return prefix;
    }
}